< previous page page_652 next page >

Page 652
the other two. For instance, you might project a point parallel to the Z axis onto the X-Y plane. You can do this by simply ignoring the point's Z coordinate.
In three dimensions, you can also project a point onto a line. In the simplest form of this kind of projection, you would project a point parallel to two coordinate axes onto the third. For example, you could project a point parallel to the X and Z axes onto the Y axis. You can do this by simply ignoring the point's X and Z coordinates.
In four dimensions, you can project a point onto a three-dimensional space. In the simplest of these projections, you project a point parallel to one coordinate axis onto the space defined by the other three. For instance, you might project a point parallel to the W axis into X-Y-Z space. You can do this by simply ignoring the point's W coordinate.
Similarly, you can project a point from four dimensions down to two by ignoring two of the point's coordinates. You could go directly from four-dimensional space to the X-Y plane by ignoring the point's Z and W coordinates.
You could even project all the way from four-dimensional space down to one of the coordinate axes. This projection would probably not be very useful, however, because your computer's screen is two-dimensional.
You can use similar operations to project from higher-dimensional spaces into three or two dimensions. Just ignore the coordinates you do not want to use.
Example program Parallel uses this simple method to display projections for a four-dimensional cube. This cube, known as a hypercube, has corners at the 16 points with coordinates given by (±1, ±1, ±1, +1).
Program Parallel projects the hypercube onto the X-Y plane by simply ignoring the Z and W coordinates of its points. Before performing the projection, the program rotates the cube in order around the X-W, Y-W, Z-W, X-Y, X-Z, and Y-Z planes. By entering amounts in radians by which the program should perform these rotations, you can view the hypercube from different directions. As you change the values, the program shows you the corresponding new view of the hypercube.
When you rotate a point around the X-W plane, neither its X nor W coordinates change. When you rotate a point around the X axis in three dimensions, its X coordinate does not change. If you ignore the W coordinate of the point, rotating the point around the X-W plane in four dimensions is equivalent to rotating it around the X axis in three dimensions.
That means a program like Parallel, which projects by ignoring the Z and W coordinates of points, will not show any difference between rotating a point around the X axis and rotating it around the X-W plane. Similarly, rotating a point around the Y-W plane looks just like rotating around the Y axis in two dimensions. Finally, rotating a point around the Z-W plane is equivalent to rotating around the Z axis in two dimensions. If you set the values for the rotations around the X-Y, X-Z, and Y-Z planes in program Parallel to zero, the transformations look just like normal rotations in three-dimensional space. In that case, the hypercube looks like a normal three-dimensional cube such as the one shown in Figure 18.2.

 
< previous page page_652 next page >